package cn.com.dcsgo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 搜索服务启动类
 *
 * @author Dcsgo
 * @since 2025/11/1 10:21
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})// 排除不需要的数据库自动配置类，避免启动报错
@EnableDiscoveryClient
public class SearchServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(SearchServiceApp.class, args);
    }
}
